package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.web3j.abi.datatypes.primitive.Int;

import java.util.Date;

/**
 * @Description:TODO(生产订单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_proplan_detail")
@ApiModel(value="t_sfc_proplan_detail对象", description="工序计划详情表")
public class SfcproplanDetail extends Model<SfcproplanDetail> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "FENTRYID")
    @ApiModelProperty(name = "FENTRYID" , value = "单据体内码")
    private Long FENTRYID;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;

    @TableField(value = "OperNo")
    @ApiModelProperty(name = "OperNo" , value = "工序号")
    private Long OperNo;
    @TableField(value = "OperName")
    @ApiModelProperty(name = "OperName" , value = "工序名称")
    private String OperName;

    @TableField(value = "DepartNo")
    @ApiModelProperty(name = "DepartNo" , value = "加工车间编码")
    private String DepartNo;

    @TableField(value = "DepartName")
    @ApiModelProperty(name = "DepartName" , value = "加工车间名称")
    private String DepartName;

    @TableField(value = "ProcessNo")
    @ApiModelProperty(name = "ProcessNo" , value = "作业编码")
    private String ProcessNo;

    @TableField(value = "ProcessName")
    @ApiModelProperty(name = "ProcessName" , value = "作业名称")
    private String ProcessName;

    @TableField(value = "Qty")
    @ApiModelProperty(name = "Qty" , value = "数量")
    private Double Qty;

    @TableField(value = "EquipmentNo")
    @ApiModelProperty(name = "EquipmentNo" , value = "设备编码")
    private String EquipmentNo;

    @TableField(value = "EquipmentName")
    @ApiModelProperty(name = "EquipmentName" , value = "设备名称")
    private String EquipmentName;

    @TableField(value = "beginandend")
    @ApiModelProperty(name = "beginandend" , value = "首序末序")
    private Integer beginandend;

    @TableField(value = "Control")
    @ApiModelProperty(name = "Control" , value = "控制码(免检还是强检)")
    private String Control;
}
